﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WsdShop.Model;
using WsdShop.Model.ViewModels;

namespace WsdShop.IService
{
    public interface ICommonAreaService
    {
        Common_Area GetArea(int Id);

        Common_Area GetArea(string name, int level);

        List<Common_Area> GetAreaList(int parentId);

        List<Common_Area> GetAreaList();

        List<Common_Area> GetAreaListByIds(List<int> idlist);

        List<AreaModel> GetAreaTreeDate(int pid);
    }
}
